<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>POST Params</title>
</head>
<body>
<form method="post" >
{%csrf_token%}
UserName:<input type="text" name="username"/> 
Password:<input type="password" name="password"/>
<input type="submit" value="Submit">
</form>
</body>
</html>